package com.zjitc;

import javafx.application.Application;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/5 15:00
 * @description:
 */
public class App1 {

  public static void main(String[] args) {
    ApplicationContext context = new ClassPathXmlApplicationContext("demol1.xml");
    Usej u1 = context.getBean("u1",Usej.class);
    Usej u2 = context.getBean("u2",Usej.class);


    System.out.println(u1);


    System.out.println(u2);
  }
}
